<p>
  <b>Title:</b>
  <%=h @document.title %>
</p>

<p>
  <b>Category:</b>
  <%=h @document.category_id %>
</p>

<p>
  <b>Summary:</b>
  <%=h @document.summary %>
</p>

<p>
  <b>Creator:</b>
  <%=h @document.creator %>
</p>

<p>
  <b>Content:</b>
  <%=h @document.content %>
</p>


<%= link_to 'Edit', edit_document_path(@document) %> |
<%= link_to 'Histories', "/histories/#{@document.id}" %> |
<%= link_to 'Back', documents_path %>
